libostree: Get and set OstreeAsyncProgress:status atomically
authorPhilip Withnall <withnall@endlessm.com>
Fri, 28 Apr 2017 18:32:17 +0000 (19:32 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Sat, 29 Apr 2017 11:50:15 +0000 (11:50 +0000)
commitcbe3989b2bd0ec93f9878c2d9a79fcb72d477d11
tree2d3c2cd444e2ae89ae87ef7ca59761d1d188caa7
parentce83abb868a6ecff5e8563532e76e742579e5064
libostree: Get and set OstreeAsyncProgress:status atomically

Use the new well-known `status` key for OstreeAsyncProgress to get and
set the status atomically with other keys in an OstreeAsyncProgress
instance.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #819
Approved by: cgwalters
src/libostree/ostree-repo-pull.c
src/libostree/ostree-repo.c